package com.ccpjcmjs.service;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//zookeeper：服务注册与发现

@Service
@Component //使用了Dubbo后尽量不要使用Service注解
public class TicketServiceImpl implements TicketService{
    @Override
    public String getTicket() {
        return "《狂神说》";
    }
}
